package cn.nohan.funplay.module.member.mongo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mongoplus.annotation.ID;
import com.mongoplus.annotation.collection.CollectionField;
import com.mongoplus.annotation.collection.CollectionName;
import lombok.Data;

import java.util.Date;


@Data
@CollectionName("support")
public class MongoSupportEntity {

	@ID
    private String id;
	
	/**
	 * 动态ID
	 */

	@CollectionField("dynamicId")
	private String dynamicId;
	
	/**
	 * 点赞用户ID
	 */

	@CollectionField("userId")
	private Long userId;
	
	/**
	 * 头像
	 */

	@CollectionField("avatar")
	private String avatar;
	
	/**
	 * 昵称
	 */
	@CollectionField("nickname")
	private String nickname;
	
	/**
	 * 用户VIP等级【0：无等级】
	 */
	private Integer vipLevel;

	/**
	 * 用户主理人等级【0：无等级】
	 */
	private Integer principalLevel;
	
	/**
	 * 创建时间
	 */
	@CollectionField("createTime")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="Asia/Shanghai")
	private Date createTime;
	
}
